/**
 * 
 */
package com.objectdraw.server.commands;

import com.objectdraw.server.data.RequestData;
import com.objectdraw.server.data.ResponseData;

/**
 * @author Harrison
 *
 */
public class ToolChangeCommand extends Command {
	static final private String myCommand = "tool";
	/* (non-Javadoc)
	 * @see com.objectdraw.server.commands.Command#processRequest(com.objectdraw.server.RequestData, com.objectdraw.server.ResponseData)
	 */
	@Override
	public void processRequest(RequestData request, ResponseData response) {
		if(myCommand.equalsIgnoreCase(request.getCommand())){
			//TODO: Stuff
			System.out.println(myCommand +" Command");
		}
		
		//Pass the request on to the next person in line
		if(this.successor != null){
			this.successor.processRequest(request,response);
		}
	}

}
